package com.huawang.mdesign.model.service.vo;

import com.huawang.business.dto.project.ModelDependency;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
public class DistributeProjectVo {
    @Schema(description = "状态码", example = "200")
    private String projectId;

    private List<ModelDependency> dependencies = new ArrayList<>();

    private String rootModel;

    @Schema(title = "项目模型json格式数据，已废弃")
    private String modelData;

    @Schema(title = "项目类别")
    private String projectType;

    @Schema(title = "项目下载或导出时临时文件路径")
    private String tempFilePath;

    @Schema(title = "是否为包导出项目")
    private boolean export = false;

    @Schema(title = "项目数据类型 db/json")
    private String dataType;

    @Schema(title = "更新的模型id列表")
    private Set<String> modifyModel = new HashSet<>();

    @Schema(title = "删除的模型id列表")
    private Set<String> deleteModel = new HashSet<>();

}
